package com.indexingsystem.boss.Vo;

import java.io.Serializable;

public class IprulesVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7058910591955860851L;

	private String ipRuleId;

	private String institutionId;

	private String ruleName;

	private Integer sortIndex;

	private Integer ruleMode;

	private String expression;

	private Integer enabled;

	private String userId;

	private String userName;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIpRuleId() {
		return ipRuleId;
	}

	public void setIpRuleId(String ipRuleId) {
		this.ipRuleId = ipRuleId;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public Integer getSortIndex() {
		return sortIndex;
	}

	public void setSortIndex(Integer sortIndex) {
		this.sortIndex = sortIndex;
	}

	public Integer getRuleMode() {
		return ruleMode;
	}

	public void setRuleMode(Integer ruleMode) {
		this.ruleMode = ruleMode;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	public Integer getEnabled() {
		return enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public IprulesVo() {
	}

	public IprulesVo(String ipRuleId, String institutionId, String ruleName, Integer sortIndex, Integer ruleMode,
			String expression, Integer enabled, String userId, String userName) {
		super();
		this.ipRuleId = ipRuleId;
		this.institutionId = institutionId;
		this.ruleName = ruleName;
		this.sortIndex = sortIndex;
		this.ruleMode = ruleMode;
		this.expression = expression;
		this.enabled = enabled;
		this.userId = userId;
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "IprulesVo [ipRuleId=" + ipRuleId + ", institutionId=" + institutionId + ", ruleName=" + ruleName
				+ ", sortIndex=" + sortIndex + ", ruleMode=" + ruleMode + ", expression=" + expression + ", enabled="
				+ enabled + ", userId=" + userId + ", userName=" + userName + "]";
	}
}